﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Views.aspx.cs" Inherits="Mall.Views" %>

<%@ Register Src="usercontrol/Top.ascx" TagName="uchead" TagPrefix="headuc" %>
<%@ Register Src="usercontrol/Footer.ascx" TagName="ucfooter" TagPrefix="footeruc" %>
<%
    MODEL.MProduct model = new MODEL.MProduct();
    if (mpurduct != null)
    {

        model = mpurduct;
        
    }
    string[] piclist = { "" };
    if(!string.IsNullOrEmpty(model.Img_Big)&&model.Img_Big.IndexOf(",")>-1){

        piclist = model.Img_Big.Split(new char[] { ',' });
    }
    List<string> plist=new List<string>();
    foreach (string s in piclist) {

        if (s.Length < 2)
        {

            continue;
        }
        plist.Add(s);
    }
    if (plist.Count == 0) {

        plist.Add("/content/pic/none.gif");
    }
        //全部分类导航
 %>
  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE><%=model.ProductName %></TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name="description" content="打造中国外贸商品第一网络内销商城,新款 时尚活力大气 毛呢大衣,女装,上装">
<meta name="keywords" content="打造中国外贸商品第一网络内销商城,新款 时尚活力大气 毛呢大衣,女装,上装">
<LINK media=screen href="/content/images/mklview/global.css" 
type=text/css rel=stylesheet>
<SCRIPT src="/content/images/mklview/jquery-1.3.2.min.js" type=text/javascript></SCRIPT>
<SCRIPT src="/content/images/mklview/comm.js" type=text/javascript></SCRIPT>
<LINK media=screen href="/content/images/mklview/vi09.css" type=text/css rel=stylesheet><LINK 
media=screen href="/content/images/mklview/leftlist.css" type=text/css rel=stylesheet><LINK 
media=screen href="/content/images/mklview/comment-rater.css" type=text/css rel=stylesheet>
<SCRIPT src="/content/images/mklview/ProductWarehouse.htm" type=text/javascript></SCRIPT>
<SCRIPT src="/content/images/mklview/jquery.cookie.js" type=text/javascript></SCRIPT>
<SCRIPT src="/content/images/mklview/StyleCommon.js" type=text/javascript></SCRIPT>
<SCRIPT src="/content/images/mklview/StyleDetail.js" type=text/javascript></SCRIPT>
<SCRIPT src="/content/images/mklview/Login.js" type=text/javascript></SCRIPT>
<SCRIPT src="/content/images/mklview/Cart.js" type=text/javascript></SCRIPT>
<link href="/content/css/css.css" type="text/css" rel="stylesheet">	
<SCRIPT src="/content/js/jquery-1.2.6.pack.js" type=text/javascript></SCRIPT>
<SCRIPT src="/content/js/base.js" type=text/javascript></SCRIPT>
<style type="text/css"> 
DIV.property {
	BORDER-RIGHT: #ddd 1px solid; PADDING-RIGHT: 0px; BORDER-TOP: #ddd 1px solid; PADDING-LEFT: 0px; BACKGROUND: #f7f7f7; PADDING-BOTTOM: 5px; BORDER-LEFT: #ddd 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: #ddd 1px solid
}
DIV.property UL {
	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
DIV.property UL LI {
	FLOAT: left; WIDTH: 345px; LINE-HEIGHT: 1.8
}
 
</style>
<SCRIPT type=text/javascript>
    //这是一个Json对象，用来存放当前页面所有style的维度信息。通过的形式赋值
    var styleSKUItemsJson = [{ "Key": "SF106666", "Value": [

{ "ItemId": "SF10666608-S", "ItemName": "玩偶女孩可爱印花衬衫 栏印花 S", "ProductId": "331281-R10307008-00S", "SKUColorImageFileName": "<%=plist[0].Replace("/","\\/") %>", "SKUColorImageName": "<%=plist[0].Replace("/","\\/") %>", "SKUDimentionId1": "0", "SKUDimentionId2": "均码", "SKUDimentionName1": "颜色1", "SKUDimentionName2": "均码", "SKUDimentionOrder1": 0, "SKUDimentionOrder2": 0, "SaleOnWebFlag": true, "StyleId": "SF106666" },
{ "ItemId": "SF10666608-S", "ItemName": "玩偶女孩可爱印花衬衫 栏印花 S", "ProductId": "331281-R10307008-00S", "SKUColorImageFileName": "<%=plist[0].Replace("/","\\/") %>", "SKUColorImageName": "<%=plist[0].Replace("/","\\/") %>", "SKUDimentionId1": "0", "SKUDimentionId2": "码1", "SKUDimentionName1": "颜色1", "SKUDimentionName2": "码1", "SKUDimentionOrder1": 0, "SKUDimentionOrder2": 1, "SaleOnWebFlag": true, "StyleId": "SF106666" },

{ "ItemId": "SF10666608-S", "ItemName": "玩偶女孩可爱印花衬衫 栏印花 S", "ProductId": "331281-R10307008-00S", "SKUColorImageFileName": "<%=plist[0].Replace("/","\\/") %>", "SKUColorImageName": "<%=plist[0].Replace("/","\\/") %>", "SKUDimentionId1": "1", "SKUDimentionId2": "均码", "SKUDimentionName1": "颜色2", "SKUDimentionName2": "均码", "SKUDimentionOrder1": 0, "SKUDimentionOrder2": 0, "SaleOnWebFlag": true, "StyleId": "SF106666" },
{ "ItemId": "SF10666608-S", "ItemName": "玩偶女孩可爱印花衬衫 栏印花 S", "ProductId": "331281-R10307008-00S", "SKUColorImageFileName": "<%=plist[0].Replace("/","\\/") %>", "SKUColorImageName": "<%=plist[0].Replace("/","\\/") %>", "SKUDimentionId1": "1", "SKUDimentionId2": "码1", "SKUDimentionName1": "颜色2", "SKUDimentionName2": "码1", "SKUDimentionOrder1": 0, "SKUDimentionOrder2": 1, "SaleOnWebFlag": true, "StyleId": "SF106666" },




	]}];
        //获取当前页面style信息 
        var styleEntityListJson = [{ "<IsEmpty>k__BackingField": false, "CheckPOFlag": false, "ChineseName": "玩偶女孩可爱印花衬衫", "ClassId3": "N10400", "IsScareBuying": false, "KitFlag": false, "OriginalStyleId": "R103070", "SKUDimentionTypeName1": "颜色", "SKUDimentionTypeName2": "尺寸", "SaleAloneFlag": true, "SaleDate": "2010-10-29 09:33:15", "SaleOnWebFlag": true, "ScareBuyingMaxQtyPerUser": 0, "ScareingBeginTime": "", "ScareingEndTime": "", "StockAllocateMode": 1, "StyleId": "SF106666", "StyleTypeClass": "special"}];
        //存储Ajax服务的地址
        var ajaxServiceAddress = { "AddFavorite": "http:\/\/product.m18.com\/Service\/FavoriteService.asmx\/AddFavorite", "CheckLogin": "http:\/\/product.m18.com\/Service\/LoginService.asmx\/CheckLogin", "GetLastView": "http:\/\/product.m18.com\/Service\/StyleService.asmx\/GetLastView", "GetMatchingDetail": "http:\/\/product.m18.com\/Service\/Matching.asmx\/GetMatchingDetail", "GetMatchingListByClassId": "http:\/\/product.m18.com\/Service\/Matching.asmx\/GetMatchingListByClassId", "GetQuickChannelService": "http:\/\/product.m18.com\/Service\/UserStyleList.asmx", "GetStyleDetailInfo": "http:\/\/product.m18.com\/Service\/StyleService.asmx\/GetStyleDatailInfo", "LoginForm": "http:\/\/product.m18.com\/LoginForm.aspx", "MemberShip": "http:\/\/product.m18.com\/Service\/LoginService.asmx\/GetMemberShipId", "UserLogin": "http:\/\/product.m18.com\/Service\/LoginService.asmx\/UserLogin", "UserPoints": "http:\/\/product.m18.com\/Service\/UserPoints.asmx\/GetPoint" };
        //此商品单卖的文字
        var aloneMessage = "";
        //搭配信息
        var matchingJson = [];
        //评分的样式
        var stisficationCss = 'point4b-1';
        //服务器端时间
        var currentNow = '2010-11-08 12:14';
	</SCRIPT>
 
 
<META content="MSHTML 6.00.6000.17092" name=GENERATOR></HEAD>
<BODY id=N1>
<headuc:uchead ID="headuc" runat="server" />
 
 
<DIV class=crumb><%=str_html_left_top_views%>
</DIV>
<FORM action="/cart/buy.aspx" method="post" id="form_buy">
 
<DIV class=wrap>
<DIV class=col_2_b>
<DIV class=clearfix>
<H1 class=mb5 id=styleName><%=model.ProductName%></H1>
<DIV class="showpic fl">
 
 
<div id=preview  >
	<div class=jqzoom id=spec-n1 style="height:360px;" ><IMG   width="350"  
src='<%=plist[0] %>' height="350"
	  id="bigmpicn"  >
	</div>
	<div id=spec-n5>
      <div class=control id=spec-left> <img src="/content/images/left.gif" /> </div>
	  <div id=spec-list>
        <ul class=list-h>
 
          
<%for (int ii = 0; ii < plist.Count;ii++ )
  { %>
          <li><img 
  src="<%=plist[ii] %>"> </li>
  <% }%>        
        </ul>
	    </div>
      <div class=control id=spec-right> <img src="/content/images/right.gif" /> </div>
	  </div>
</div>
<SCRIPT type=text/javascript>
    $(function () {
        $(".jqzoom").jqueryzoom({
            xzoom: 0,
            yzoom: 0,
            offset: 15,
            position: "right",
            preload: 3,
            lens: 5
        });
        $("#spec-list").jdMarquee({
            deriction: "right",
            width: 300,
            height: 56,
            step: 2,
            speed: 4,
            delay: 10,
            control: true,
            _front: "#spec-right",
            _back: "#spec-left"
        });
        $("#spec-list img").bind("mouseover", function () {
            var src = $(this).attr("src");
            $("#spec-n1 img").eq(0).attr({
                src: src.replace("\/n5\/", "\/n1\/"),
                jqimg: src.replace("\/n5\/", "\/n0\/")
            });
            $(this).css({
                "border": "2px solid #ff6600",
                "padding": "1px"
            });
        }).bind("mouseout", function () {
            $(this).css({
                "border": "1px solid #ccc",
                "padding": "2px"
            });
        });
    })
	</SCRIPT>
 
<SCRIPT src="/content/js/lib.js" type=text/javascript></SCRIPT>
<SCRIPT src="/content/js/163css.js" type=text/javascript></SCRIPT>
 
 
 
</DIV>
<DIV class="iteminfo fr" id=iteminfo>
 
<DIV><DEL 
class=lower>市场价：￥<%=(Convert.ToDecimal(model.Price.ToString())*Convert.ToDecimal("1.3")).ToString() %></DEL> </DIV>
<DIV><SPAN class=price 
id=stylePrice>优惠价：￥<%=model.Price.ToString() %></SPAN> </DIV>
<DIV class="outline mb10 mt10 clearfix choicebox" styleId="SF106666" isScare="0" 
memberLevel="0" isVip="0" maxQty="0">
<DIV class="sku-error-message error" style="DISPLAY: none"></DIV>
<DIV class=choice>
<DIV class="mb10 sku-color-title"><SPAN class=hl2></SPAN></DIV>
<UL class="color-select clearfix mb10 sku-color-select"></UL>
<DIV class="mb10 sku-size-title cb"><SPAN class=hl2></SPAN></DIV>
<UL class="size-select clearfix mb10 sku-size-select"></UL>
<DIV class=clearfix><SPAN class="fl mr10">我要买<INPUT name="count" id="count" class="text buyCount" 
value=1>件</SPAN> 
<div style=" clear:both;"></div>
<DIV class=notice>
<P class=sku-notify></P></DIV></DIV></DIV>
<div style=" clear:both;"></div>
<DIV class="tipstxt blod sku-selected-title">已选择：<SPAN id="ycn" class=hl2></SPAN><input type="hidden" value="<%=model.Id.ToString() %>"  id="id"  name="id"/><input type="hidden" value="" name="yansecm"  id="yansecm" /></DIV>
<UL class=handlebox>
  <LI><A class="addcart sku-addcart" id=btnAddToCart title=放入购物车 
  href="javascript:buy();" >放入购物车</A> </LI>
  <LI><A class="addfavor sku-addfavor" title=放入收藏夹 
 href="/member/Member_Fav.aspx?Id=<%=model.Id %>">放入备选</A> </LI></UL>
 <ul>
 <div style=" clear:both;"></div>
 <DIV 
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px;  PADDING-TOP: 5px">
<DIV class=detail style="FONT-WEIGHT: bold; COLOR: #c00">上架时间：<%=model.AddDate.ToString() %></DIV>
<DIV class=detail>出售：<SPAN class=num><%=model.BuyCount.ToString() %></SPAN> 件　　积分：<SPAN class=num><%=model.Point.ToString() %></SPAN></DIV>
<DIV class=detail>浏览：<SPAN class=num><%=model.ClickCount.ToString() %></SPAN> 次</DIV>
<!----></DIV></ul>
 </DIV>
<SCRIPT type=text/javascript>

    LoadSKU();
					</SCRIPT>
 
</DIV></DIV>
<div style=" clear:both"></div>
<div style="padding-top:20px;">
			<div class="property">
				<ul>
 
<%=model.IntroMore %>
 
									</ul>
				<div style="clear:both;"></div>
			</div>
			</div>
<DIV class=relative>
 
<UL class=tab1>
  <LI><A class=cur id=id-goods-info href=" ">商品信息</A> 
</LI>
 
 </UL></DIV>
<DIV class="tab1body clearfix" id=goods-info>
<DIV class=goods-txt>
 
<DIV class=goods-detail>
<DIV class=h4 id=styleBrief> 商品介绍</br> 
<%=model.Content %></DIV></DIV></DIV>
</DIV>
<DIV class=gh-frame>
<DIV class=goods-hot-rank>
<DIV class="goods-hot-box clearfix">
  <DIV class="gh-righ-box f14 quiet clearfix">
<DIV class=fl>
<TABLE>
  <TBODY>
  <TR>
 
    <TD class="vm tl">原价：<DEL class=lower><%=(Convert.ToDecimal(model.Price.ToString())*Convert.ToDecimal("1.3")).ToString() %></DEL><BR>现价：<SPAN 
      class="blod f14 gh-price"><%=model.Price.ToString() %></SPAN></TD></TR></TBODY></TABLE></DIV><A 
class="addcart sku-PopSKU fl" title=放入购物车 
href="javascript:buy();">放入购物车</A> </DIV></DIV></DIV></DIV>

<DIV id=buyer-leaveword>
</DIV>

<BR>
<DIV class="hotrec bor1">
<DIV class=h3>相关热卖推荐</DIV>
<UL class="item clearfix">
<%=str_html_down_product_list %> 

</UL>
<div style="clear:both;"></div>
</DIV></DIV>
<DIV class=col_2_a>
<%=str_html_left_class_views%>
  <DIV class="bor1 mb10 mt10" id=brand-nav >
<DIV class="h2 wh2">快速通道</DIV>
<UL>
    <LI  class=beauty><A href="/list.aspx?action=tejia"><SPAN>特价商品</SPAN></A> 
    <LI  class=beauty><A href="/list.aspx?action=hot"><SPAN>热销商品</SPAN></A> 
    <LI  class=beauty><A href="/list.aspx?action=new"><SPAN>最新商品</SPAN></A> 
 
</LI></UL></DIV>
<DIV class="bor1 mb10 mt10" id=brand-nav>
<DIV class="h2 wh2">全部分类</DIV>
<UL>
<%=str_html_left_his_views%></UL></DIV>
 
  <DIV class="bor1 mb10 mt10"  >
<DIV class="h2 wh2">最近浏览</DIV>
<DL>
 
<%=str_html_left_his_views%>
 
</DD></DL></DIV>
 
</DIV>
 
</DIV>
</FORM>
<script language="javascript" >
    function buy() {

        document.getElementById("yansecm").value = document.getElementById("ycn").innerHTML;
        //alert(document.getElementById("yansecm").value);
        //form1.submit();
        document.getElementById("form_buy").submit();
    }
</script>
<footeruc:ucfooter ID="footeruc" runat="server" />
 
</BODY></HTML>

